<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="pl" uri="http://uyunsky.cn/jstl/pl" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ include file="/jsp/common.jsp" %>
<html>
<head>

    <pl:import src="/js/ui/tree/css/zTreeStyle.css"/>
    <pl:import src="/js/ui/tree/jquery.ztree.all-3.5.min.js"/>

    <pl:import src="/js/ui/development/minified/om-grid.min.js"/>
    <pl:import src="/jsp/system/sys01/sys01.js"/>
</head>

<body>
<div> <!--style="border: 1px solid #86A3C4;"-->
    <form class="form-inline" onsubmit="return false">
        <span>角色名称:</span>
        <div class="input-append">
            <input id="search" type="text" class="span3" placeholder="回车可执行查询">
            <button id="btnSearch" type="button" class="btn btn-mini">查询</button>
            <button id="btnAdd" type="button" class="btn btn-mini btn-info">新增</button>
        </div>
    </form>
</div>

<div class="row-fluid">
    <div class="span6">
        <div>
            <table id="roleGrid"></table>
        </div>
    </div>
    <div class="span5">
        <div class="divhead">
                <span>角色:[<span id="roleNameSpan"></span>] 的功能菜单</span>
                <span style="float:right;display:inline;">
                    <pl:button id="updateTran" value="重新选择后点击保存" styleClass="btn btn-mini btn-primary" style="height:20px"/>
                </span>
        </div>
        <div class="divbody">
            <ul id="roleTree" class="ztree"></ul>
        </div>
    </div>
</div>




<%-- 增改form--%>
<div id="recordDialog">
    <form id="recordForm" onsubmit="return false">
        <pl:hidden id="id"/>
        <pl:hidden id="flag" value="0"/>


        <table width="100%" border="0" class="grid_layout" cellspacing="0">
            <tr>
                <td width="10%" align="right"><span class="color_red">*</span>角色名：</td>
                <td width="35%" colspan="3">
                    <pl:textfield id="roleDes"/>
                </td>
            </tr>
        </table>
        <hr/>
        <div class="text_align_c pad ">
            <button id="btnSave" type="button" class="btn btn-primary">保存</button>
        </div>
    </form>
</div>

</body>
</html>